package com.base.service;

import com.base.po.voip.CarParkOrder;
import com.base.po.voip.CarParkOrderExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarParkOrderService {
    int countByExample(CarParkOrderExample example);

    int deleteByExample(CarParkOrderExample example);

    int insert(CarParkOrder record);

    int insertSelective(CarParkOrder record);

    List<CarParkOrder> selectByExample(CarParkOrderExample example);

    List<CarParkOrder> selectAllOrder(@Param("page") Page page, @Param("parentid") String parentid);

    List<CarParkOrder> selectUserOrder(@Param("page") Page page, @Param("userid") String userid);

    CarParkOrder selectByPrimaryKey(String orderid);

    int updateByExampleSelective(@Param("record") CarParkOrder record, @Param("example") CarParkOrderExample example);

    int updateByExample(@Param("record") CarParkOrder record, @Param("example") CarParkOrderExample example);

    int updateByPrimaryKeySelective(CarParkOrder record);

    int countAllOrder(String parentid);

    int countUserOrder(String userid);
}